var procutso_mail=false

function open_mail(code){
	if (typeof procutso_mail.document == "object") {
		procutso_mail.close()
	}
	procutso_mail=window.open("products_mail.php?code=" + code ,"mail","width=300,height=480,left=100,top=100,scrollbars=no,menubars=no,statusbar=NO,status=NO,resizable=YES,location=NO")
}

<!-- intercambio de imagenes -->

function ima(file){
document.principal.src = file;
}

var i;
var imagenes = new Array("img/btn_home_on.png", "img/btn_home_off.png", "img/btn_benefits_on.png", "img/btn_benefits_off.png", "img/btn_purchase_on.png","img/btn_purchase_off.png", "img/btn_installation_on.png", "img/btn_installation_off.png", "img/btn_parts_on.png", "img/btn_parts_off.png", "img/btn_contact_on.png", "img/btn_contact_off.png", "img/btn_help_on.png", "img/btn_help_off.png", "img/btn_check_on.png", "img/btn_check_off.png");
var lista_imagenes = new Array();
function cargarimagenes(){
for(i in imagenes){
lista_imagenes[i] = new Image();
lista_imagenes[i].src = imagenes[i];
}
}

var m_celda;
var m_color;
function m_on(m_celda, m_color){
document.getElementById(m_celda).style.color='#ffffff';
document.getElementById(m_celda).style.background= m_color;
}
function m_off(m_celda){
document.getElementById(m_celda).style.color='#11638E';
document.getElementById(m_celda).style.background= '#ffffff';
}
function img_over(n_img, img_on){
document.images[n_img].src=img_on;
}
function img_out(n_img, img_off){
document.images[n_img].src=img_off;
}